import { setItem, removeItem, getItem } from './storage';

const TokenKey = 'Admin-Token';
const AccountNoKey = 'Admin-Account';

export function getToken() {
    return getItem(TokenKey);
}

export function getAccountNo() {
    return getItem(AccountNoKey);
}


export function setToken(token) {
    setItem(TokenKey, token);
}

export function setAccountNo(accountNo) {
    setItem(AccountNoKey, accountNo);
}

export function removeToken() {
    removeItem(TokenKey);
}
